package com.april.pattern.creational.builder;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/06/22 20:57
 * @description 中华牌飞船构建者
 */
public class ZhAirShipBuilder implements AirShipBuilder {
    @Override
    public Engine getEngine() {
        System.out.println("构建引擎");
        return new Engine("中华牌引擎");
    }

    @Override
    public EscapeTower getEscapeTower() {
        System.out.println("构建逃逸仓");
        return new EscapeTower("中华牌逃逸仓");
    }

    @Override
    public OrbitalModule getOrbitModule() {
        System.out.println("构建轨道舱");
        return new OrbitalModule("中华牌轨道舱");
    }
}
